Integrand size = 25, antiderivative size = 313 \[ \int \frac {(c \sin (a+b x))^{3/2}}{(d \cos (a+b x))^{3/2}} \, dx=-\frac {c^{3/2} \arctan \left (1-\frac {\sqrt {2} \sqrt {c} \sqrt {d \cos (a+b x)}}{\sqrt {d} \sqrt {c \sin (a+b x)}}\right )}{\sqrt {2} b d^{3/2}}+\frac {c^{3/2} \arctan \left (1+\frac {\sqrt {2} \sqrt {c} \sqrt {d \cos (a+b x)}}{\sqrt {d} \sqrt {c \sin (a+b x)}}\right )}{\sqrt {2} b d^{3/2}}+\frac {c^{3/2} \log \left (\sqrt {d}+\sqrt {d} \cot (a+b x)-\frac {\sqrt {2} \sqrt {c} \sqrt {d \cos (a+b x)}}{\sqrt {c \sin (a+b x)}}\right )}{2 \sqrt {2} b d^{3/2}}-\frac {c^{3/2} \log \left (\sqrt {d}+\sqrt {d} \cot (a+b x)+\frac {\sqrt {2} \sqrt {c} \sqrt {d \cos (a+b x)}}{\sqrt {c \sin (a+b x)}}\right )}{2 \sqrt {2} b d^{3/2}}+\frac {2 c \sqrt {c \sin (a+b x)}}{b d \sqrt {d \cos (a+b x)}} \]
[Out]
Time = 0.18 (sec) , antiderivative size = 313, normalized size of antiderivative = 1.00, number of steps used = 11, number of rules used = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.320, Rules used = {2646, 2655, 303, 1176, 631, 210, 1179, 642} \[ \int \frac {(c \sin (a+b x))^{3/2}}{(d \cos (a+b x))^{3/2}} \, dx=-\frac {c^{3/2} \arctan \left (1-\frac {\sqrt {2} \sqrt {c} \sqrt {d \cos (a+b x)}}{\sqrt {d} \sqrt {c \sin (a+b x)}}\right )}{\sqrt {2} b d^{3/2}}+\frac {c^{3/2} \arctan \left (\frac {\sqrt {2} \sqrt {c} \sqrt {d \cos (a+b x)}}{\sqrt {d} \sqrt {c \sin (a+b x)}}+1\right )}{\sqrt {2} b d^{3/2}}+\frac {c^{3/2} \log \left (-\frac {\sqrt {2} \sqrt {c} \sqrt {d \cos (a+b x)}}{\sqrt {c \sin (a+b x)}}+\sqrt {d} \cot (a+b x)+\sqrt {d}\right )}{2 \sqrt {2} b d^{3/2}}-\frac {c^{3/2} \log \left (\frac {\sqrt {2} \sqrt {c} \sqrt {d \cos (a+b x)}}{\sqrt {c \sin (a+b x)}}+\sqrt {d} \cot (a+b x)+\sqrt {d}\right )}{2 \sqrt {2} b d^{3/2}}+\frac {2 c \sqrt {c \sin (a+b x)}}{b d \sqrt {d \cos (a+b x)}} \]
[In]
[Out]
Rule 210
Rule 303
Rule 631
Rule 642
Rule 1176
Rule 1179
Rule 2646
Rule 2655
Rubi steps \begin{align*} \text {integral}& = \frac {2 c \sqrt {c \sin (a+b x)}}{b d \sqrt {d \cos (a+b x)}}-\frac {c^2 \int \frac {\sqrt {d \cos (a+b x)}}{\sqrt {c \sin (a+b x)}} \, dx}{d^2} \\ & = \frac {2 c \sqrt {c \sin (a+b x)}}{b d \sqrt {d \cos (a+b x)}}+\frac {\left (2 c^3\right ) \text {Subst}\left (\int \frac {x^2}{d^2+c^2 x^4} \, dx,x,\frac {\sqrt {d \cos (a+b x)}}{\sqrt {c \sin (a+b x)}}\right )}{b d} \\ & = \frac {2 c \sqrt {c \sin (a+b x)}}{b d \sqrt {d \cos (a+b x)}}-\frac {c^2 \text {Subst}\left (\int \frac {d-c x^2}{d^2+c^2 x^4} \, dx,x,\frac {\sqrt {d \cos (a+b x)}}{\sqrt {c \sin (a+b x)}}\right )}{b d}+\frac {c^2 \text {Subst}\left (\int \frac {d+c x^2}{d^2+c^2 x^4} \, dx,x,\frac {\sqrt {d \cos (a+b x)}}{\sqrt {c \sin (a+b x)}}\right )}{b d} \\ & = \frac {2 c \sqrt {c \sin (a+b x)}}{b d \sqrt {d \cos (a+b x)}}+\frac {c^{3/2} \text {Subst}\left (\int \frac {\frac {\sqrt {2} \sqrt {d}}{\sqrt {c}}+2 x}{-\frac {d}{c}-\frac {\sqrt {2} \sqrt {d} x}{\sqrt {c}}-x^2} \, dx,x,\frac {\sqrt {d \cos (a+b x)}}{\sqrt {c \sin (a+b x)}}\right )}{2 \sqrt {2} b d^{3/2}}+\frac {c^{3/2} \text {Subst}\left (\int \frac {\frac {\sqrt {2} \sqrt {d}}{\sqrt {c}}-2 x}{-\frac {d}{c}+\frac {\sqrt {2} \sqrt {d} x}{\sqrt {c}}-x^2} \, dx,x,\frac {\sqrt {d \cos (a+b x)}}{\sqrt {c \sin (a+b x)}}\right )}{2 \sqrt {2} b d^{3/2}}+\frac {c \text {Subst}\left (\int \frac {1}{\frac {d}{c}-\frac {\sqrt {2} \sqrt {d} x}{\sqrt {c}}+x^2} \, dx,x,\frac {\sqrt {d \cos (a+b x)}}{\sqrt {c \sin (a+b x)}}\right )}{2 b d}+\frac {c \text {Subst}\left (\int \frac {1}{\frac {d}{c}+\frac {\sqrt {2} \sqrt {d} x}{\sqrt {c}}+x^2} \, dx,x,\frac {\sqrt {d \cos (a+b x)}}{\sqrt {c \sin (a+b x)}}\right )}{2 b d} \\ & = \frac {c^{3/2} \log \left (\sqrt {d}+\sqrt {d} \cot (a+b x)-\frac {\sqrt {2} \sqrt {c} \sqrt {d \cos (a+b x)}}{\sqrt {c \sin (a+b x)}}\right )}{2 \sqrt {2} b d^{3/2}}-\frac {c^{3/2} \log \left (\sqrt {d}+\sqrt {d} \cot (a+b x)+\frac {\sqrt {2} \sqrt {c} \sqrt {d \cos (a+b x)}}{\sqrt {c \sin (a+b x)}}\right )}{2 \sqrt {2} b d^{3/2}}+\frac {2 c \sqrt {c \sin (a+b x)}}{b d \sqrt {d \cos (a+b x)}}+\frac {c^{3/2} \text {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1-\frac {\sqrt {2} \sqrt {c} \sqrt {d \cos (a+b x)}}{\sqrt {d} \sqrt {c \sin (a+b x)}}\right )}{\sqrt {2} b d^{3/2}}-\frac {c^{3/2} \text {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1+\frac {\sqrt {2} \sqrt {c} \sqrt {d \cos (a+b x)}}{\sqrt {d} \sqrt {c \sin (a+b x)}}\right )}{\sqrt {2} b d^{3/2}} \\ & = -\frac {c^{3/2} \arctan \left (1-\frac {\sqrt {2} \sqrt {c} \sqrt {d \cos (a+b x)}}{\sqrt {d} \sqrt {c \sin (a+b x)}}\right )}{\sqrt {2} b d^{3/2}}+\frac {c^{3/2} \arctan \left (1+\frac {\sqrt {2} \sqrt {c} \sqrt {d \cos (a+b x)}}{\sqrt {d} \sqrt {c \sin (a+b x)}}\right )}{\sqrt {2} b d^{3/2}}+\frac {c^{3/2} \log \left (\sqrt {d}+\sqrt {d} \cot (a+b x)-\frac {\sqrt {2} \sqrt {c} \sqrt {d \cos (a+b x)}}{\sqrt {c \sin (a+b x)}}\right )}{2 \sqrt {2} b d^{3/2}}-\frac {c^{3/2} \log \left (\sqrt {d}+\sqrt {d} \cot (a+b x)+\frac {\sqrt {2} \sqrt {c} \sqrt {d \cos (a+b x)}}{\sqrt {c \sin (a+b x)}}\right )}{2 \sqrt {2} b d^{3/2}}+\frac {2 c \sqrt {c \sin (a+b x)}}{b d \sqrt {d \cos (a+b x)}} \\ \end{align*}
Result contains higher order function than in optimal. Order 5 vs. order 3 in optimal.
Time = 0.11 (sec) , antiderivative size = 67, normalized size of antiderivative = 0.21 \[ \int \frac {(c \sin (a+b x))^{3/2}}{(d \cos (a+b x))^{3/2}} \, dx=\frac {2 \sqrt [4]{\cos ^2(a+b x)} \operatorname {Hypergeometric2F1}\left (\frac {5}{4},\frac {5}{4},\frac {9}{4},\sin ^2(a+b x)\right ) (c \sin (a+b x))^{5/2}}{5 b c d \sqrt {d \cos (a+b x)}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(686\) vs. \(2(237)=474\).
Time = 0.25 (sec) , antiderivative size = 687, normalized size of antiderivative = 2.19
method | result | size |
default | \(-\frac {\sqrt {2}\, \left (\frac {c \left (\csc \left (b x +a \right )-\cot \left (b x +a \right )\right )}{\left (1-\cos \left (b x +a \right )\right )^{2} \left (\csc ^{2}\left (b x +a \right )\right )+1}\right )^{\frac {3}{2}} \left (\sin ^{2}\left (b x +a \right )\right ) \left (\ln \left (-\frac {-\left (1-\cos \left (b x +a \right )\right )^{2} \csc \left (b x +a \right )+2 \sqrt {\left (1-\cos \left (b x +a \right )\right ) \left (\left (1-\cos \left (b x +a \right )\right )^{2} \left (\csc ^{2}\left (b x +a \right )\right )-1\right ) \csc \left (b x +a \right )}\, \sin \left (b x +a \right )-2+2 \cos \left (b x +a \right )+\sin \left (b x +a \right )}{1-\cos \left (b x +a \right )}\right ) \sqrt {\left (1-\cos \left (b x +a \right )\right ) \left (\left (1-\cos \left (b x +a \right )\right )^{2} \left (\csc ^{2}\left (b x +a \right )\right )-1\right ) \csc \left (b x +a \right )}+2 \arctan \left (\frac {\sqrt {\left (1-\cos \left (b x +a \right )\right ) \left (\left (1-\cos \left (b x +a \right )\right )^{2} \left (\csc ^{2}\left (b x +a \right )\right )-1\right ) \csc \left (b x +a \right )}\, \sin \left (b x +a \right )+\cos \left (b x +a \right )-1}{1-\cos \left (b x +a \right )}\right ) \sqrt {\left (1-\cos \left (b x +a \right )\right ) \left (\left (1-\cos \left (b x +a \right )\right )^{2} \left (\csc ^{2}\left (b x +a \right )\right )-1\right ) \csc \left (b x +a \right )}-\ln \left (\frac {\left (1-\cos \left (b x +a \right )\right )^{2} \csc \left (b x +a \right )+2 \sqrt {\left (1-\cos \left (b x +a \right )\right ) \left (\left (1-\cos \left (b x +a \right )\right )^{2} \left (\csc ^{2}\left (b x +a \right )\right )-1\right ) \csc \left (b x +a \right )}\, \sin \left (b x +a \right )+2-2 \cos \left (b x +a \right )-\sin \left (b x +a \right )}{1-\cos \left (b x +a \right )}\right ) \sqrt {\left (1-\cos \left (b x +a \right )\right ) \left (\left (1-\cos \left (b x +a \right )\right )^{2} \left (\csc ^{2}\left (b x +a \right )\right )-1\right ) \csc \left (b x +a \right )}+2 \arctan \left (\frac {\sqrt {\left (1-\cos \left (b x +a \right )\right ) \left (\left (1-\cos \left (b x +a \right )\right )^{2} \left (\csc ^{2}\left (b x +a \right )\right )-1\right ) \csc \left (b x +a \right )}\, \sin \left (b x +a \right )+1-\cos \left (b x +a \right )}{1-\cos \left (b x +a \right )}\right ) \sqrt {\left (1-\cos \left (b x +a \right )\right ) \left (\left (1-\cos \left (b x +a \right )\right )^{2} \left (\csc ^{2}\left (b x +a \right )\right )-1\right ) \csc \left (b x +a \right )}+8 \csc \left (b x +a \right )-8 \cot \left (b x +a \right )\right ) \left (\left (1-\cos \left (b x +a \right )\right )^{2} \left (\csc ^{2}\left (b x +a \right )\right )-1\right )}{4 b \left (1-\cos \left (b x +a \right )\right )^{2} {\left (-\frac {d \left (\left (1-\cos \left (b x +a \right )\right )^{2} \left (\csc ^{2}\left (b x +a \right )\right )-1\right )}{\left (1-\cos \left (b x +a \right )\right )^{2} \left (\csc ^{2}\left (b x +a \right )\right )+1}\right )}^{\frac {3}{2}}}\) | \(687\) |
[In]
[Out]
Result contains complex when optimal does not.
Time = 0.52 (sec) , antiderivative size = 1092, normalized size of antiderivative = 3.49 \[ \int \frac {(c \sin (a+b x))^{3/2}}{(d \cos (a+b x))^{3/2}} \, dx=\text {Too large to display} \]
[In]
[Out]
\[ \int \frac {(c \sin (a+b x))^{3/2}}{(d \cos (a+b x))^{3/2}} \, dx=\int \frac {\left (c \sin {\left (a + b x \right )}\right )^{\frac {3}{2}}}{\left (d \cos {\left (a + b x \right )}\right )^{\frac {3}{2}}}\, dx \]
[In]
[Out]
\[ \int \frac {(c \sin (a+b x))^{3/2}}{(d \cos (a+b x))^{3/2}} \, dx=\int { \frac {\left (c \sin \left (b x + a\right )\right )^{\frac {3}{2}}}{\left (d \cos \left (b x + a\right )\right )^{\frac {3}{2}}} \,d x } \]
[In]
[Out]
\[ \int \frac {(c \sin (a+b x))^{3/2}}{(d \cos (a+b x))^{3/2}} \, dx=\int { \frac {\left (c \sin \left (b x + a\right )\right )^{\frac {3}{2}}}{\left (d \cos \left (b x + a\right )\right )^{\frac {3}{2}}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {(c \sin (a+b x))^{3/2}}{(d \cos (a+b x))^{3/2}} \, dx=\int \frac {{\left (c\,\sin \left (a+b\,x\right )\right )}^{3/2}}{{\left (d\,\cos \left (a+b\,x\right )\right )}^{3/2}} \,d x \]
[In]
[Out]